<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
import {initDynamicRoutes} from "./router/index"
export default{
  //在页面刷新时调用动态路由函数，解决路由丢失问题
  created(){
    initDynamicRoutes()
  }
}
</script>

<style lang="scss">

</style>
